.padding-fifty {
   padding-top: 50px;
}

.padding-twenty {
    padding-top: 20px;
}

.display-none {
    display: none;
}

.list-group-item {
    word-break: break-all;
}

.list-group-item.selected {
    background: #dff0d8 !important;
    color: #3c763d !important;
    font-weight: bold;
}

.code-editor {
    border-radius: 8px;
    overflow: hidden;
    height: 130px;
    border: 1px solid #444;

}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #5cb85c;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* 悬浮代码提示样式 */
.CodeMirror-hints {
    position: absolute;
    /*z-index: 1000;*/
    /*overflow: auto;*/
    /*max-height: 300px;*/
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);*/
    /*border-radius: 8px;*/
    border: 1px solid #555;
    background: #f8f8f2;
    color: #2d2d2d;
    font-size: 12px;
    /*font-family: monospace;*/
    /*transform: translateY(-30%) !important;
    margin-top: 20px;*/
    padding: 0px;
}

.CodeMirror-hint {
    padding: 5px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.CodeMirror-hint:hover {
    background: rgba(64, 64, 64, 0.3);
}

.CodeMirror-hint-active {
    background: #3498db !important;
    color: white;
}

.CodeMirror-hint-description {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}

.CodeMirror-hint-type {
    color: #bd93f9;
    font-style: italic;
    margin-left: 8px;
}

/* 提示框标题样式 */
.hint-title {
    padding: 8px 12px;
    background: #444;
    color: #64b5f6;
    font-weight: bold;
    border-bottom: 1px solid #555;
    display: flex;
    justify-content: space-between;
}

.hint-close {
    cursor: pointer;
    color: #ff5555;
}
